﻿<UserControl x:Class="FM.录音.Views.通道编辑视图"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:system="clr-namespace:System;assembly=mscorlib"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:viewModels="clr-namespace:FM.录音.ViewModels"
             d:DataContext="{d:DesignInstance Type={x:Type viewModels:通道编辑视图ViewModel}}"
             d:DesignHeight="300"
             d:DesignWidth="300"
             mc:Ignorable="d">
    <UserControl.Resources>
        <system:String x:Key="String1">基本</system:String>
    </UserControl.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="22*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <telerik:RadPropertyGrid Grid.Row="1"
                                 Grid.Column="0"
                                 Margin="2,0"
                                 AutoGeneratePropertyDefinitions="False"
                                 IsGrouped="True"
                                 Item="{Binding Model}"
                                 LabelColumnWidth="120">

            <telerik:RadPropertyGrid.PropertyDefinitions>
                <telerik:PropertyDefinition Binding="{Binding 名称}"
                                            Description="修改通道名称"
                                            DisplayName="名称"
                                            GroupName="基本" />

                <telerik:PropertyDefinition Binding="{Binding 录音声卡}"
                                            Description="本通道监视的声卡"
                                            DisplayName="录音声卡"
                                            GroupName="基本" />
                <telerik:PropertyDefinition Binding="{Binding 监听声卡}"
                                            Description="监听时的输出声卡"
                                            DisplayName="监听声卡"
                                            GroupName="基本" />
                <telerik:PropertyDefinition Binding="{Binding 录音目录}"
                                            Description="录音文件的保存目录"
                                            DisplayName="录音目录"
                                            GroupName="基本" />
                <telerik:PropertyDefinition Binding="{Binding 自动启动录音}"
                                            Description="开机自动启动录音"
                                            DisplayName="自动启动录音"
                                            GroupName="基本" />
                <telerik:PropertyDefinition Binding="{Binding 自动启动监视}"
                                            Description="开机自动启动监视"
                                            DisplayName="自动启动监视"
                                            GroupName="基本" />
                <telerik:PropertyDefinition Binding="{Binding 录音格式}"
                                            Description="录音格式"
                                            DisplayName="录音格式"
                                            GroupName="录音" />
                <telerik:PropertyDefinition Binding="{Binding 采样率}"
                                            Description="采样率:44100,48000"
                                            DisplayName="采样率"
                                            GroupName="录音" />
                <telerik:PropertyDefinition Binding="{Binding 采样深度}"
                                            Description="采样深度:16,24"
                                            DisplayName="采样深度"
                                            GroupName="录音" />
                <telerik:PropertyDefinition Binding="{Binding 录音声道}"
                                            Description="录音声道:1,2"
                                            DisplayName="录音声道"
                                            GroupName="录音" />
            </telerik:RadPropertyGrid.PropertyDefinitions>
        </telerik:RadPropertyGrid>

    </Grid>
</UserControl>
